-- https://modern-sql.com/standard
-- https://jakewheat.github.io/sql-overview/
-- https://ronsavage.github.io/SQL/

-- SQL-92			===========================================================
-- https://ronsavage.github.io/SQL/sql-92.bnf
-- https://www.contrib.andrew.cmu.edu/~shadow/sql/sql1992.txt
-- https://jakewheat.github.io/sql-overview/sql-92-grammar.html
--! Data Types		===========================================================
-- character string type
CHARACTER
CHAR
CHARACTER VARYING
CHAR VARYING
VARCHAR
-- national character string type
NATIONAL CHARACTER
NATIONAL CHAR
NCHAR
NATIONAL CHARACTER VARYING
NATIONAL CHAR VARYING
NCHAR VARYING
-- bit string type
BIT
BIT VARYING
-- numeric type
NUMERIC
DECIMAL
DEC
INTEGER
INT
SMALLINT
FLOAT
REAL
DOUBLE PRECISION
-- datetime type
DATE
TIME
TIMESTAMP

YEAR
MONTH
DAY
HOUR
MINUTE
SECOND
-- interval type
INTERVAL

--! keywords		===========================================================
-- reserved word
ABSOLUTE
ACTION
ADD
ALL
ALLOCATE
ALTER
AND
ANY
ARE
AS
ASC
ASSERTION
AT
AUTHORIZATION
AVG
BEGIN
BETWEEN
BIT
BIT_LENGTH
BOTH
BY
CASCADE
CASCADED
CASE
CAST
CATALOG
CHAR
CHAR_LENGTH
CHARACTER
CHARACTER_LENGTH
CHECK
CLOSE
COALESCE
COLLATE
COLLATION
COLUMN
COMMIT
CONNECT
CONNECTION
CONSTRAINT
CONSTRAINTS
CONTINUE
CONVERT
CORRESPONDING
CREATE
CROSS
CURRENT
CURRENT_DATE
CURRENT_TIME
CURRENT_TIMESTAMP
CURRENT_USER
CURSOR
DATE
DAY
DEALLOCATE
DEC
DECIMAL
DECLARE
DEFAULT
DEFERRABLE
DEFERRED
DELETE
DESC
DESCRIBE
DESCRIPTOR
DIAGNOSTICS
DISCONNECT
DISTINCT
DOMAIN
DOUBLE
DROP
ELSE
END
END-EXEC
ESCAPE
EXCEPT
EXCEPTION
EXEC
EXECUTE
EXISTS
EXTERNAL
EXTRACT
FALSE
FETCH
FIRST
FLOAT
FOR
FOREIGN
FOUND
FROM
FULL
GET
GLOBAL
GO
GOTO
GRANT
GROUP
HAVING
HOUR
IDENTITY
IMMEDIATE
IN
INDICATOR
INITIALLY
INNER
INPUT
INSENSITIVE
INSERT
INT
INTEGER
INTERSECT
INTERVAL
INTO
IS
ISOLATION
JOIN
KEY
LANGUAGE
LAST
LEADING
LEFT
LEVEL
LIKE
LOCAL
LOWER
MATCH
MAX
MIN
MINUTE
MODULE
MONTH
NAMES
NATIONAL
NATURAL
NCHAR
NEXT
NO
NOT
NULL
NULLIF
NUMERIC
OCTET_LENGTH
OF
ON
ONLY
OPEN
OPTION
OR
ORDER
OUTER
OUTPUT
OVERLAPS
PAD
PARTIAL
POSITION
PRECISION
PREPARE
PRESERVE
PRIMARY
PRIOR
PRIVILEGES
PROCEDURE
PUBLIC
READ
REAL
REFERENCES
RELATIVE
RESTRICT
REVOKE
RIGHT
ROLLBACK
ROWS
SCHEMA
SCROLL
SECOND
SECTION
SELECT
SESSION
SESSION_USER
SET
SIZE
SMALLINT
SOME
SPACE
SQL
SQLCODE
SQLERROR
SQLSTATE
SUBSTRING
SUM
SYSTEM_USER
TABLE
TEMPORARY
THEN
TIME
TIMESTAMP
TIMEZONE_HOUR
TIMEZONE_MINUTE
TO
TRAILING
TRANSACTION
TRANSLATE
TRANSLATION
TRIM
TRUE
UNION
UNIQUE
UNKNOWN
UPDATE
UPPER
USAGE
USER
USING
VALUE
VALUES
VARCHAR
VARYING
VIEW
WHEN
WHENEVER
WHERE
WITH
WORK
WRITE
YEAR
ZONE

-- non-reserved word
ADA
C
CATALOG_NAME
CHARACTER_SET_CATALOG
CHARACTER_SET_NAME
CHARACTER_SET_SCHEMA
CLASS_ORIGIN
COBOL
COLLATION_CATALOG
COLLATION_NAME
COLLATION_SCHEMA
COLUMN_NAME
COMMAND_FUNCTION
COMMITTED
CONDITION_NUMBER
CONNECTION_NAME
CONSTRAINT_CATALOG
CONSTRAINT_NAME
CONSTRAINT_SCHEMA
CURSOR_NAME
DATA
DATETIME_INTERVAL_CODE
DATETIME_INTERVAL_PRECISION
DYNAMIC_FUNCTION
FORTRAN
LENGTH
MESSAGE_LENGTH
MESSAGE_OCTET_LENGTH
MESSAGE_TEXT
MORE
MUMPS
NAME
NULLABLE
NUMBER
PASCAL
PLI
REPEATABLE
RETURNED_LENGTH
RETURNED_OCTET_LENGTH
RETURNED_SQLSTATE
ROW_COUNT
SCALE
SCHEMA_NAME
SERIALIZABLE
SERVER_NAME
SUBCLASS_ORIGIN
TABLE_NAME
TYPE
UNCOMMITTED
UNNAMED

-- SQL:1999			===========================================================
-- https://ronsavage.github.io/SQL/sql-99.bnf
-- https://jakewheat.github.io/sql-overview/sql-1999-grammar.html
--! Data Types		===========================================================
-- character string type
CHARACTER
CHAR
CHARACTER VARYING
CHAR VARYING
VARCHAR
CHARACTER LARGE OBJECT
CHAR LARGE OBJECT
CLOB
-- national character string type
NATIONAL CHARACTER
NATIONAL CHAR
NCHAR
NATIONAL CHARACTER VARYING
NATIONAL CHAR VARYING
NCHAR VARYING
NATIONAL CHARACTER LARGE OBJECT
NCHAR LARGE OBJECT
NCLOB
-- binary large object string type
BINARY LARGE OBJECT
BLOB
-- bit string type
BIT
BIT VARYING
-- numeric type
NUMERIC
DECIMAL
DEC
INTEGER
INT
SMALLINT
FLOAT
REAL
DOUBLE PRECISION
BOOLEAN
-- datetime type
DATE
TIME
TIMESTAMP

YEAR
MONTH
DAY
HOUR
MINUTE
SECOND
-- interval type
INTERVAL
-- row type
ROW
-- <reference type
REF
-- collection type
ARRAY

--! keywords		===========================================================
-- reserved word
ABSOLUTE
ACTION
ADD
AFTER
ALL
ALLOCATE
ALTER
AND
ANY
ARE
ARRAY
AS
ASC
ASSERTION
AT
AUTHORIZATION
BEFORE
BEGIN
BETWEEN
BINARY
BIT
BLOB
BOOLEAN
BOTH
BREADTH
BY
CALL
CASCADE
CASCADED
CASE
CAST
CATALOG
CHAR
CHARACTER
CHECK
CLOB
CLOSE
COLLATE
COLLATION
COLUMN
COMMIT
CONDITION
CONNECT
CONNECTION
CONSTRAINT
CONSTRAINTS
CONSTRUCTOR
CONTINUE
CORRESPONDING
CREATE
CROSS
CUBE
CURRENT
CURRENT_DATE
CURRENT_DEFAULT_TRANSFORM_GROUP
CURRENT_PATH
CURRENT_ROLE
CURRENT_TIME
CURRENT_TIMESTAMP
CURRENT_TRANSFORM_GROUP_FOR_TYPE
CURRENT_USER
CURSOR
CYCLE
DATA
DATE
DAY
DEALLOCATE
DEC
DECIMAL
DECLARE
DEFAULT
DEFERRABLE
DEFERRED
DELETE
DEPTH
DEREF
DESC
DESCRIBE
DESCRIPTOR
DETERMINISTIC
DIAGNOSTICS
DISCONNECT
DISTINCT
DO
DOMAIN
DOUBLE
DROP
DYNAMIC
EACH
ELSE
ELSEIF
END
END-EXEC
EQUALS
ESCAPE
EXCEPT
EXCEPTION
EXEC
EXECUTE
EXISTS
EXIT
EXTERNAL
FALSE
FETCH
FIRST
FLOAT
FOR
FOREIGN
FOUND
FREE
FROM
FULL
FUNCTION
GENERAL
GET
GLOBAL
GO
GOTO
GRANT
GROUP
GROUPING
HANDLE
HAVING
HOLD
HOUR
IDENTITY
IF
IMMEDIATE
IN
INDICATOR
INITIALLY
INNER
INOUT
INPUT
INSERT
INT
INTEGER
INTERSECT
INTERVAL
INTO
IS
ISOLATION
JOIN
KEY
LANGUAGE
LARGE
LAST
LATERAL
LEADING
LEAVE
LEFT
LEVEL
LIKE
LOCAL
LOCALTIME
LOCALTIMESTAMP
LOCATOR
LOOP
MAP
MATCH
METHOD
MINUTE
MODIFIES
MODULE
MONTH
NAMES
NATIONAL
NATURAL
NCHAR
NCLOB
NESTING
NEW
NEXT
NO
NONE
NOT
NULL
NUMERIC
OBJECT
OF
OLD
ON
ONLY
OPEN
OPTION
OR
ORDER
ORDINALITY
OUT
OUTER
OUTPUT
OVERLAPS
PAD
PARAMETER
PARTIAL
PATH
PRECISION
PREPARE
PRESERVE
PRIMARY
PRIOR
PRIVILEGES
PROCEDURE
PUBLIC
READ
READS
REAL
RECURSIVE
REDO
REF
REFERENCES
REFERENCING
RELATIVE
RELEASE
REPEAT
RESIGNAL
RESTRICT
RESULT
RETURN
RETURNS
REVOKE
RIGHT
ROLE
ROLLBACK
ROLLUP
ROUTINE
ROW
ROWS
SAVEPOINT
SCHEMA
SCROLL
SEARCH
SECOND
SECTION
SELECT
SESSION
SESSION_USER
SET
SETS
SIGNAL
SIMILAR
SIZE
SMALLINT
SOME
SPACE
SPECIFIC
SPECIFICTYPE
SQL
SQLEXCEPTION
SQLSTATE
SQLWARNING
START
STATE
STATIC
SYSTEM_USER
TABLE
TEMPORARY
THEN
TIME
TIMESTAMP
TIMEZONE_HOUR
TIMEZONE_MINUTE
TO
TRAILING
TRANSACTION
TRANSLATION
TREAT
TRIGGER
TRUE
UNDER
UNDO
UNION
UNIQUE
UNKNOWN
UNNEST
UNTIL
UPDATE
USAGE
USER
USING
VALUE
VALUES
VARCHAR
VARYING
VIEW
WHEN
WHENEVER
WHERE
WHILE
WITH
WITHOUT
WORK
WRITE
YEAR
ZONE

-- non-reserved word
ABS
ADA
ADMIN
ASENSITIVE
ASSIGNMENT
ASYMMETRIC
ATOMIC
ATTRIBUTE
AVG
BIT_LENGTH
C
CALLED
CARDINALITY
CATALOG_NAME
CHAIN
CHAR_LENGTH
CHARACTER_LENGTH
CHARACTER_SET_CATALOG
CHARACTER_SET_NAME
CHARACTER_SET_SCHEMA
CHARACTERISTICS
CHECKED
CLASS_ORIGIN
COALESCE
COBOL
COLLATION_CATALOG
COLLATION_NAME
COLLATION_SCHEMA
COLUMN_NAME
COMMAND_FUNCTION
COMMAND_FUNCTION_CODE
COMMITTED
CONDITION_IDENTIFIER
CONDITION_NUMBER
CONNECTION_NAME
CONSTRAINT_CATALOG
CONSTRAINT_NAME
CONSTRAINT_SCHEMA
CONTAINS
CONVERT
COUNT
CURSOR_NAME
DATETIME_INTERVAL_CODE
DATETIME_INTERVAL_PRECISION
DEFINED
DEFINER
DEGREE
DERIVED
DISPATCH
EVERY
EXTRACT
FINAL
FORTRAN
G
GENERATED
GRANTED
HIERARCHY
IMPLEMENTATION
INSENSITIVE
INSTANCE
INSTANTIABLE
INVOKER
K
KEY_MEMBER
KEY_TYPE
LENGTH
LOWER
M
MAX
MESSAGE_LENGTH
MESSAGE_OCTET_LENGTH
MESSAGE_TEXT
MIN
MOD
MORE
MUMPS
NAME
NULLABLE
NULLIF
NUMBER
OCTET_LENGTH
OPTIONS
ORDERING
OVERLAY
OVERRIDING
PARAMETER_MODE
PARAMETER_NAME
PARAMETER_ORDINAL_POSITION
PARAMETER_SPECIFIC_CATALOG
PARAMETER_SPECIFIC_NAME
PARAMETER_SPECIFIC_SCHEMA
PASCAL
PLI
POSITION
REPEATABLE
RETURNED_CARDINALITY
RETURNED_LENGTH
RETURNED_OCTET_LENGTH
RETURNED_SQLSTATE
ROUTINE_CATALOG
ROUTINE_NAME
ROUTINE_SCHEMA
ROW_COUNT
SCALE
SCHEMA_NAME
SCOPE
SECURITY
SELF
SENSITIVE
SERIALIZABLE
SERVER_NAME
SIMPLE
SOURCE
SPECIFIC_NAME
STATEMENT
STRUCTURE
STYLE
SUBCLASS_ORIGIN
SUBSTRING
SUM
SYMMETRIC
SYSTEM
TABLE_NAME
TOP_LEVEL_COUNT
TRANSACTION_ACTIVE
TRANSACTIONS_COMMITTED
TRANSACTIONS_ROLLED_BACK
TRANSFORM
TRANSFORMS
TRANSLATE
TRIGGER_CATALOG
TRIGGER_NAME
TRIGGER_SCHEMA
TRIM
TYPE
UNCOMMITTED
UNNAMED
UPPER

-- SQL:2003
-- https://ronsavage.github.io/SQL/sql-2003-2.bnf
-- https://jakewheat.github.io/sql-overview/sql-2003-foundation-grammar.html
--! Data Types		===========================================================
-- character string type
CHARACTER
CHAR
CHARACTER VARYING
CHAR VARYING
VARCHAR
CHARACTER LARGE OBJECT
CHAR LARGE OBJECT
CLOB
-- national character string type
NATIONAL CHARACTER
NATIONAL CHAR
NCHAR
NATIONAL CHARACTER VARYING
NATIONAL CHAR VARYING
NCHAR VARYING
NATIONAL CHARACTER LARGE OBJECT
NCHAR LARGE OBJECT
NCLOB
-- binary large object string type
BINARY LARGE OBJECT
BLOB
-- numeric type
NUMERIC
DECIMAL
DEC
SMALLINT
INTEGER
INT
BIGINT
FLOAT
REAL
DOUBLE PRECISION
BOOLEAN
-- datetime type
DATE
TIME
TIMESTAMP

YEAR
MONTH
DAY
HOUR
MINUTE
SECOND
-- interval type
INTERVAL
-- row type
ROW
-- reference type
REF
-- collection type
ARRAY
MULTISET

--! keywords		===========================================================
-- reserved word
ADD
ALL
ALLOCATE
ALTER
AND
ANY
ARE
ARRAY
AS
ASENSITIVE
ASYMMETRIC
AT
ATOMIC
AUTHORIZATION
BEGIN
BETWEEN
BIGINT
BINARY
BLOB
BOOLEAN
BOTH
BY
CALL
CALLED
CASCADED
CASE
CAST
CHAR
CHARACTER
CHECK
CLOB
CLOSE
COLLATE
COLUMN
COMMIT
CONNECT
CONSTRAINT
CONTINUE
CORRESPONDING
CREATE
CROSS
CUBE
CURRENT
CURRENT_DATE
CURRENT_DEFAULT_TRANSFORM_GROUP
CURRENT_PATH
CURRENT_ROLE
CURRENT_TIME
CURRENT_TIMESTAMP
CURRENT_TRANSFORM_GROUP_FOR_TYPE
CURRENT_USER
CURSOR
CYCLE
DATE
DAY
DEALLOCATE
DEC
DECIMAL
DECLARE
DEFAULT
DELETE
DEREF
DESCRIBE
DETERMINISTIC
DISCONNECT
DISTINCT
DOUBLE
DROP
DYNAMIC
EACH
ELEMENT
ELSE
END
END-EXEC
ESCAPE
EXCEPT
EXEC
EXECUTE
EXISTS
EXTERNAL
FALSE
FETCH
FILTER
FLOAT
FOR
FOREIGN
FREE
FROM
FULL
FUNCTION
GET
GLOBAL
GRANT
GROUP
GROUPING
HAVING
HOLD
HOUR
IDENTITY
IMMEDIATE
IN
INDICATOR
INNER
INOUT
INPUT
INSENSITIVE
INSERT
INT
INTEGER
INTERSECT
INTERVAL
INTO
IS
ISOLATION
JOIN
LANGUAGE
LARGE
LATERAL
LEADING
LEFT
LIKE
LOCAL
LOCALTIME
LOCALTIMESTAMP
MATCH
MEMBER
MERGE
METHOD
MINUTE
MODIFIES
MODULE
MONTH
MULTISET
NATIONAL
NATURAL
NCHAR
NCLOB
NEW
NO
NONE
NOT
NULL
NUMERIC
OF
OLD
ON
ONLY
OPEN
OR
ORDER
OUT
OUTER
OUTPUT
OVER
OVERLAPS
PARAMETER
PARTITION
PRECISION
PREPARE
PRIMARY
PROCEDURE
RANGE
READS
REAL
RECURSIVE
REF
REFERENCES
REFERENCING
REGR_AVGX
REGR_AVGY
REGR_COUNT
REGR_INTERCEPT
REGR_R2
REGR_SLOPE
REGR_SXX
REGR_SXY
REGR_SYY
RELEASE
RESULT
RETURN
RETURNS
REVOKE
RIGHT
ROLLBACK
ROLLUP
ROW
ROWS
SAVEPOINT
SCROLL
SEARCH
SECOND
SELECT
SENSITIVE
SESSION_USER
SET
SIMILAR
SMALLINT
SOME
SPECIFIC
SPECIFICTYPE
SQL
SQLEXCEPTION
SQLSTATE
SQLWARNING
START
STATIC
SUBMULTISET
SYMMETRIC
SYSTEM
SYSTEM_USER
TABLE
THEN
TIME
TIMESTAMP
TIMEZONE_HOUR
TIMEZONE_MINUTE
TO
TRAILING
TRANSLATION
TREAT
TRIGGER
TRUE
UESCAPE
UNION
UNIQUE
UNKNOWN
UNNEST
UPDATE
UPPER
USER
USING
VALUE
VALUES
VAR_POP
VAR_SAMP
VARCHAR
VARYING
WHEN
WHENEVER
WHERE
WIDTH_BUCKET
WINDOW
WITH
WITHIN
WITHOUT
YEAR

-- non-reserved word
A
ABS
ABSOLUTE
ACTION
ADA
ADMIN
AFTER
ALWAYS
ASC
ASSERTION
ASSIGNMENT
ATTRIBUTE
ATTRIBUTES
AVG
BEFORE
BERNOULLI
BREADTH
C
CARDINALITY
CASCADE
CATALOG
CATALOG_NAME
CEIL
CEILING
CHAIN
CHAR_LENGTH
CHARACTER_LENGTH
CHARACTER_SET_CATALOG
CHARACTER_SET_NAME
CHARACTER_SET_SCHEMA
CHARACTERISTICS
CHARACTERS
CHECKED
CLASS_ORIGIN
COALESCE
COBOL
CODE_UNITS
COLLATION
COLLATION_CATALOG
COLLATION_NAME
COLLATION_SCHEMA
COLLECT
COLUMN_NAME
COMMAND_FUNCTION
COMMAND_FUNCTION_CODE
COMMITTED
CONDITION
CONDITION_NUMBER
CONNECTION_NAME
CONSTRAINT_CATALOG
CONSTRAINT_NAME
CONSTRAINT_SCHEMA
CONSTRAINTS
CONSTRUCTORS
CONTAINS
CONVERT
CORR
COUNT
COVAR_POP
COVAR_SAMP
CUME_DIST
CURRENT_COLLATION
CURSOR_NAME
DATA
DATETIME_INTERVAL_CODE
DATETIME_INTERVAL_PRECISION
DEFAULTS
DEFERRABLE
DEFERRED
DEFINED
DEFINER
DEGREE
DENSE_RANK
DEPTH
DERIVED
DESC
DESCRIPTOR
DIAGNOSTICS
DISPATCH
DOMAIN
DYNAMIC_FUNCTION
DYNAMIC_FUNCTION_CODE
EQUALS
EVERY
EXCEPTION
EXCLUDE
EXCLUDING
EXP
EXTRACT
FINAL
FIRST
FLOOR
FOLLOWING
FORTRAN
FOUND
FUSION
G
GENERAL
GO
GOTO
GRANTED
HIERARCHY
IMPLEMENTATION
INCLUDING
INCREMENT
INITIALLY
INSTANCE
INSTANTIABLE
INTERSECTION
INVOKER
ISOLATION
K
KEY
KEY_MEMBER
KEY_TYPE
LAST
LENGTH
LEVEL
LN
LOCATOR
LOWER
M
MAP
MATCHED
MAX
MAXVALUE
MESSAGE_LENGTH
MESSAGE_OCTET_LENGTH
MESSAGE_TEXT
MIN
MINVALUE
MOD
MORE
MUMPS
NAME
NAMES
NESTING
NEXT
NORMALIZE
NORMALIZED
NULLABLE
NULLIF
NULLS
NUMBER
OBJECT
OCTET_LENGTH
OCTETS
OPTION
OPTIONS
ORDERING
ORDINALITY
OTHERS
OVERLAY
OVERRIDING
PAD
PARAMETER_MODE
PARAMETER_NAME
PARAMETER_ORDINAL_POSITION
PARAMETER_SPECIFIC_CATALOG
PARAMETER_SPECIFIC_NAME
PARAMETER_SPECIFIC_SCHEMA
PARTIAL
PASCAL
PATH
PERCENT_RANK
PERCENTILE_CONT
PERCENTILE_DISC
PLACING
PLI
POSITION
POWER
PRECEDING
PRESERVE
PRIOR
PRIVILEGES
PUBLIC
RANK
READ
RELATIVE
REPEATABLE
RESTART
RETURNED_CARDINALITY
RETURNED_LENGTH
RETURNED_OCTET_LENGTH
RETURNED_SQLSTATE
ROLE
ROUTINE
ROUTINE_CATALOG
ROUTINE_NAME
ROUTINE_SCHEMA
ROW_COUNT
ROW_NUMBER
SCALE
SCHEMA
SCHEMA_NAME
SCOPE_CATALOG
SCOPE_NAME
SCOPE_SCHEMA
SECTION
SECURITY
SELF
SEQUENCE
SERIALIZABLE
SERVER_NAME
SESSION
SETS
SIMPLE
SIZE
SOURCE
SPACE
SPECIFIC_NAME
SQRT
STATE
STATEMENT
STDDEV_POP
STDDEV_SAMP
STRUCTURE
STYLE
SUBCLASS_ORIGIN
SUBSTRING
SUM
TABLE_NAME
TABLESAMPLE
TEMPORARY
TIES
TOP_LEVEL_COUNT
TRANSACTION
TRANSACTION_ACTIVE
TRANSACTIONS_COMMITTED
TRANSACTIONS_ROLLED_BACK
TRANSFORM
TRANSFORMS
TRANSLATE
TRIGGER_CATALOG
TRIGGER_NAME
TRIGGER_SCHEMA
TRIM
TYPE
UNBOUNDED
UNCOMMITTED
UNDER
UNNAMED
USAGE
USER_DEFINED_TYPE_CATALOG
USER_DEFINED_TYPE_CODE
USER_DEFINED_TYPE_NAME
USER_DEFINED_TYPE_SCHEMA
VIEW
WORK
WRITE
ZONE

-- SQL:2008
-- https://jakewheat.github.io/sql-overview/sql-2008-foundation-grammar.html
--! Data Types		===========================================================
-- character string type
CHARACTER
CHAR
CHARACTER VARYING
CHAR VARYING
VARCHAR
-- character large object type
CHARACTER LARGE OBJECT
CHAR LARGE OBJECT
CLOB
-- national character string type
NATIONAL CHARACTER
NATIONAL CHAR
NCHAR
NATIONAL CHARACTER VARYING
NATIONAL CHAR VARYING
NCHAR VARYING
-- national character large object type
NATIONAL CHARACTER LARGE OBJECT
NCHAR LARGE OBJECT
NCLOB
-- binary string type
BINARY
BINARY VARYING
VARBINARY
-- binary large object string type
BINARY LARGE OBJECT
BLOB
-- numeric type
NUMERIC
DECIMAL
DEC
SMALLINT
INTEGER
INT
BIGINT
FLOAT
REAL
DOUBLE PRECISION
BOOLEAN
-- datetime type
DATE
TIME
TIMESTAMP

YEAR
MONTH
DAY
HOUR
MINUTE
SECOND
-- interval type
INTERVAL
-- row type
ROW
-- reference type
REF
-- collection type
ARRAY
MULTISET

--! keywords		===========================================================
-- reserved word
ABS
ALL
ALLOCATE
ALTER
AND
ANY
ARE
ARRAY
AS
ASENSITIVE
ASYMMETRIC
AT
ATOMIC
AUTHORIZATION
AVG
BEGIN
BETWEEN
BIGINT
BINARY
BLOB
BOOLEAN
BOTH
BY
CALL
CALLED
CARDINALITY
CASCADED
CASE
CAST
CEIL
CEILING
CHAR
CHAR_LENGTH
CHARACTER
CHARACTER_LENGTH
CHECK
CLOB
CLOSE
COALESCE
COLLATE
COLLECT
COLUMN
COMMIT
CONDITION
CONNECT
CONSTRAINT
CONVERT
CORR
CORRESPONDING
COUNT
COVAR_POP
COVAR_SAMP
CREATE
CROSS
CUBE
CUME_DIST
CURRENT
CURRENT_CATALOG
CURRENT_DATE
CURRENT_DEFAULT_TRANSFORM_GROUP
CURRENT_PATH
CURRENT_ROLE
CURRENT_SCHEMA
CURRENT_TIME
CURRENT_TIMESTAMP
CURRENT_TRANSFORM_GROUP_FOR_TYPE
CURRENT_USER
CURSOR
CYCLE
DATE
DAY
DEALLOCATE
DEC
DECIMAL
DECLARE
DEFAULT
DELETE
DENSE_RANK
DEREF
DESCRIBE
DETERMINISTIC
DISCONNECT
DISTINCT
DOUBLE
DROP
DYNAMIC
EACH
ELEMENT
ELSE
END
END-EXEC
ESCAPE
EVERY
EXCEPT
EXEC
EXECUTE
EXISTS
EXP
EXTERNAL
EXTRACT
FALSE
FETCH
FILTER
FLOAT
FLOOR
FOR
FOREIGN
FREE
FROM
FULL
FUNCTION
FUSION
GET
GLOBAL
GRANT
GROUP
GROUPING
HAVING
HOLD
HOUR
IDENTITY
IN
INDICATOR
INNER
INOUT
INSENSITIVE
INSERT
INT
INTEGER
INTERSECT
INTERSECTION
INTERVAL
INTO
IS
JOIN
LANGUAGE
LARGE
LATERAL
LEADING
LEFT
LIKE
LIKE_REGEX
LN
LOCAL
LOCALTIME
LOCALTIMESTAMP
LOWER
MATCH
MAX
MEMBER
MERGE
METHOD
MIN
MINUTE
MOD
MODIFIES
MODULE
MONTH
MULTISET
NATIONAL
NATURAL
NCHAR
NCLOB
NEW
NO
NONE
NORMALIZE
NOT
NULL
NULLIF
NUMERIC
OCCURRENCES_REGEX
OCTET_LENGTH
OF
OLD
ON
ONLY
OPEN
OR
ORDER
OUT
OUTER
OVER
OVERLAPS
OVERLAY
PARAMETER
PARTITION
PERCENT_RANK
PERCENTILE_CONT
PERCENTILE_DISC
POSITION
POSITION_REGEX
POWER
PRECISION
PREPARE
PRIMARY
PROCEDURE
RANGE
RANK
READS
REAL
RECURSIVE
REF
REFERENCES
REFERENCING
REGR_AVGX
REGR_AVGY
REGR_COUNT
REGR_INTERCEPT
REGR_R2
REGR_SLOPE
REGR_SXX
REGR_SXY
REGR_SYY
RELEASE
RESULT
RETURN
RETURNS
REVOKE
RIGHT
ROLLBACK
ROLLUP
ROW
ROW_NUMBER
ROWS
SAVEPOINT
SCOPE
SCROLL
SEARCH
SECOND
SELECT
SENSITIVE
SESSION_USER
SET
SIMILAR
SMALLINT
SOME
SPECIFIC
SPECIFICTYPE
SQL
SQLEXCEPTION
SQLSTATE
SQLWARNING
SQRT
START
STATIC
STDDEV_POP
STDDEV_SAMP
SUBMULTISET
SUBSTRING
SUBSTRING_REGEX
SUM
SYMMETRIC
SYSTEM
SYSTEM_USER
TABLE
TABLESAMPLE
THEN
TIME
TIMESTAMP
TIMEZONE_HOUR
TIMEZONE_MINUTE
TO
TRAILING
TRANSLATE
TRANSLATE_REGEX
TRANSLATION
TREAT
TRIGGER
TRIM
TRUE
UESCAPE
UNION
UNIQUE
UNKNOWN
UNNEST
UPDATE
UPPER
USER
USING
VALUE
VALUES
VAR_POP
VAR_SAMP
VARBINARY
VARCHAR
VARYING
WHEN
WHENEVER
WHERE
WIDTH_BUCKET
WINDOW
WITH
WITHIN
WITHOUT
YEAR

-- non-reserved word
A
ABSOLUTE
ACTION
ADA
ADD
ADMIN
AFTER
ALWAYS
ASC
ASSERTION
ASSIGNMENT
ATTRIBUTE
ATTRIBUTES
BEFORE
BERNOULLI
BREADTH
C
CASCADE
CATALOG
CATALOG_NAME
CHAIN
CHARACTER_SET_CATALOG
CHARACTER_SET_NAME
CHARACTER_SET_SCHEMA
CHARACTERISTICS
CHARACTERS
CLASS_ORIGIN
COBOL
COLLATION
COLLATION_CATALOG
COLLATION_NAME
COLLATION_SCHEMA
COLUMN_NAME
COMMAND_FUNCTION
COMMAND_FUNCTION_CODE
COMMITTED
CONDITION_NUMBER
CONNECTION
CONNECTION_NAME
CONSTRAINT_CATALOG
CONSTRAINT_NAME
CONSTRAINT_SCHEMA
CONSTRAINTS
CONSTRUCTOR
CONTAINS
CONTINUE
CURSOR_NAME
DATA
DATETIME_INTERVAL_CODE
DATETIME_INTERVAL_PRECISION
DEFAULTS
DEFERRABLE
DEFERRED
DEFINED
DEFINER
DEGREE
DEPTH
DERIVED
DESC
DESCRIPTOR
DIAGNOSTICS
DISPATCH
DOMAIN
DYNAMIC_FUNCTION
DYNAMIC_FUNCTION_CODE
EQUALS
EXCLUDE
EXCLUDING
FINAL
FIRST
FLAG
FOLLOWING
FORTRAN
FOUND
G
GENERAL
GENERATED
GO
GOTO
GRANTED
HIERARCHY
IMMEDIATE
IMPLEMENTATION
INCLUDING
INCREMENT
INITIALLY
INPUT
INSTANCE
INSTANTIABLE
INVOKER
ISOLATION
K
KEY
KEY_MEMBER
KEY_TYPE
LAST
LENGTH
LEVEL
LOCATOR
M
MAP
MATCHED
MAXVALUE
MESSAGE_LENGTH
MESSAGE_OCTET_LENGTH
MESSAGE_TEXT
MINVALUE
MORE
MUMPS
NAME
NAMES
NESTING
NEXT
NFC
NFD
NFKC
NFKD
NORMALIZED
NULLABLE
NULLS
NUMBER
OBJECT
OCTETS
OPTION
OPTIONS
ORDERING
ORDINALITY
OTHERS
OUTPUT
OVERRIDING
P
PAD
PARAMETER_MODE
PARAMETER_NAME
PARAMETER_ORDINAL_POSITION
PARAMETER_SPECIFIC_CATALOG
PARAMETER_SPECIFIC_NAME
PARAMETER_SPECIFIC_SCHEMA
PARTIAL
PASCAL
PATH
PLACING
PLI
PRECEDING
PRESERVE
PRIOR
PRIVILEGES
PUBLIC
READ
RELATIVE
REPEATABLE
RESTART
RESTRICT
RETURNED_CARDINALITY
RETURNED_LENGTH
RETURNED_OCTET_LENGTH
RETURNED_SQLSTATE
ROLE
ROUTINE
ROUTINE_CATALOG
ROUTINE_NAME
ROUTINE_SCHEMA
ROW_COUNT
SCALE
SCHEMA
SCHEMA_NAME
SCOPE_CATALOG
SCOPE_NAME
SCOPE_SCHEMA
SECTION
SECURITY
SELF
SEQUENCE
SERIALIZABLE
SERVER_NAME
SESSION
SETS
SIMPLE
SIZE
SOURCE
SPACE
SPECIFIC_NAME
STATE
STATEMENT
STRUCTURE
STYLE
SUBCLASS_ORIGIN
T
TABLE_NAME
TEMPORARY
TIES
TOP_LEVEL_COUNT
TRANSACTION
TRANSACTION_ACTIVE
TRANSACTIONS_COMMITTED
TRANSACTIONS_ROLLED_BACK
TRANSFORM
TRANSFORMS
TRIGGER_CATALOG
TRIGGER_NAME
TRIGGER_SCHEMA
TYPE
UNBOUNDED
UNCOMMITTED
UNDER
UNNAMED
USAGE
USER_DEFINED_TYPE_CATALOG
USER_DEFINED_TYPE_CODE
USER_DEFINED_TYPE_NAME
USER_DEFINED_TYPE_SCHEMA
VIEW
WORK
WRITE
ZONE

-- SQL:2011
-- https://jakewheat.github.io/sql-overview/sql-2011-foundation-grammar.html
-- SQL:2011 SQL/PSM
-- https://jakewheat.github.io/sql-overview/sql-2011-psm-grammar.html
--! Data Types		===========================================================
-- character string type
CHARACTER
CHAR
CHARACTER VARYING
CHAR VARYING
VARCHAR
-- character large object type
CHARACTER LARGE OBJECT
CHAR LARGE OBJECT
CLOB
-- national character string type
NATIONAL CHARACTER
NATIONAL CHAR
NCHAR
NATIONAL CHARACTER VARYING
NATIONAL CHAR VARYING
NCHAR VARYING
-- national character large object type
NATIONAL CHARACTER LARGE OBJECT
NCHAR LARGE OBJECT
NCLOB
-- binary string type
BINARY
BINARY VARYING
VARBINARY
-- binary large object string type
BINARY LARGE OBJECT
BLOB
-- numeric type
NUMERIC
DECIMAL
DEC
SMALLINT
INTEGER
INT
BIGINT
FLOAT
REAL
DOUBLE PRECISION
BOOLEAN
-- datetime type
DATE
TIME
TIMESTAMP

YEAR
MONTH
DAY
HOUR
MINUTE
SECOND
-- interval type
INTERVAL
-- row type
ROW
-- reference type
REF
-- collection type
ARRAY
MULTISET

--! keywords		===========================================================
-- reserved word
ABS
ALL
ALLOCATE
ALTER
AND
ANY
ARE
ARRAY
ARRAY_AGG
ARRAY_MAX_CARDINALITY
AS
ASENSITIVE
ASYMMETRIC
AT
ATOMIC
AUTHORIZATION
AVG
BEGIN
BEGIN_FRAME
BEGIN_PARTITION
BETWEEN
BIGINT
BINARY
BLOB
BOOLEAN
BOTH
BY
CALL
CALLED
CARDINALITY
CASCADED
CASE
CAST
CEIL
CEILING
CHAR
CHAR_LENGTH
CHARACTER
CHARACTER_LENGTH
CHECK
CLOB
CLOSE
COALESCE
COLLATE
COLLECT
COLUMN
COMMIT
CONDITION
CONNECT
CONSTRAINT
CONTAINS
CONVERT
CORR
CORRESPONDING
COUNT
COVAR_POP
COVAR_SAMP
CREATE
CROSS
CUBE
CUME_DIST
CURRENT
CURRENT_CATALOG
CURRENT_DATE
CURRENT_DEFAULT_TRANSFORM_GROUP
CURRENT_PATH
CURRENT_ROLE
CURRENT_ROW
CURRENT_SCHEMA
CURRENT_TIME
CURRENT_TIMESTAMP
CURRENT_TRANSFORM_GROUP_FOR_TYPE
CURRENT_USER
CURSOR
CYCLE
DATE
DAY
DEALLOCATE
DEC
DECIMAL
DECLARE
DEFAULT
DELETE
DENSE_RANK
DEREF
DESCRIBE
DETERMINISTIC
DISCONNECT
DISTINCT
DOUBLE
DROP
DYNAMIC
EACH
ELEMENT
ELSE
END
END_FRAME
END_PARTITION
END-EXEC
EQUALS
ESCAPE
EVERY
EXCEPT
EXEC
EXECUTE
EXISTS
EXP
EXTERNAL
EXTRACT
FALSE
FETCH
FILTER
FIRST_VALUE
FLOAT
FLOOR
FOR
FOREIGN
FRAME_ROW
FREE
FROM
FULL
FUNCTION
FUSION
GET
GLOBAL
GRANT
GROUP
GROUPING
GROUPS
HAVING
HOLD
HOUR
IDENTITY
IN
INDICATOR
INNER
INOUT
INSENSITIVE
INSERT
INT
INTEGER
INTERSECT
INTERSECTION
INTERVAL
INTO
IS
JOIN
LAG
LANGUAGE
LARGE
LAST_VALUE
LATERAL
LEAD
LEADING
LEFT
LIKE
LIKE_REGEX
LN
LOCAL
LOCALTIME
LOCALTIMESTAMP
LOWER
MATCH
MAX
MEMBER
MERGE
METHOD
MIN
MINUTE
MOD
MODIFIES
MODULE
MONTH
MULTISET
NATIONAL
NATURAL
NCHAR
NCLOB
NEW
NO
NONE
NORMALIZE
NOT
NTH_VALUE
NTILE
NULL
NULLIF
NUMERIC
OCCURRENCES_REGEX
OCTET_LENGTH
OF
OFFSET
OLD
ON
ONLY
OPEN
OR
ORDER
OUT
OUTER
OVER
OVERLAPS
OVERLAY
PARAMETER
PARTITION
PERCENT
PERCENT_RANK
PERCENTILE_CONT
PERCENTILE_DISC
PERIOD
PORTION
POSITION
POSITION_REGEX
POWER
PRECEDES
PRECISION
PREPARE
PRIMARY
PROCEDURE
RANGE
RANK
READS
REAL
RECURSIVE
REF
REFERENCES
REFERENCING
REGR_AVGX
REGR_AVGY
REGR_COUNT
REGR_INTERCEPT
REGR_R2
REGR_SLOPE
REGR_SXX
REGR_SXY
REGR_SYY
RELEASE
RESULT
RETURN
RETURNS
REVOKE
RIGHT
ROLLBACK
ROLLUP
ROW
ROW_NUMBER
ROWS
SAVEPOINT
SCOPE
SCROLL
SEARCH
SECOND
SELECT
SENSITIVE
SESSION_USER
SET
SIMILAR
SMALLINT
SOME
SPECIFIC
SPECIFICTYPE
SQL
SQLEXCEPTION
SQLSTATE
SQLWARNING
SQRT
START
STATIC
STDDEV_POP
STDDEV_SAMP
SUBMULTISET
SUBSTRING
SUBSTRING_REGEX
SUCCEEDS
SUM
SYMMETRIC
SYSTEM
SYSTEM_TIME
SYSTEM_USER
TABLE
TABLESAMPLE
THEN
TIME
TIMESTAMP
TIMEZONE_HOUR
TIMEZONE_MINUTE
TO
TRAILING
TRANSLATE
TRANSLATE_REGEX
TRANSLATION
TREAT
TRIGGER
TRIM
TRIM_ARRAY
TRUE
TRUNCATE
UESCAPE
UNION
UNIQUE
UNKNOWN
UNNEST
UPDATE
UPPER
USER
USING
VALUE
VALUE_OF
VALUES
VAR_POP
VAR_SAMP
VARBINARY
VARCHAR
VARYING
VERSIONING
WHEN
WHENEVER
WHERE
WIDTH_BUCKET
WINDOW
WITH
WITHIN
WITHOUT
YEAR

-- non-reserved word
A
ABSOLUTE
ACTION
ADA
ADD
ADMIN
AFTER
ALWAYS
ASC
ASSERTION
ASSIGNMENT
ATTRIBUTE
ATTRIBUTES
BEFORE
BERNOULLI
BREADTH
C
CASCADE
CATALOG
CATALOG_NAME
CHAIN
CHARACTER_SET_CATALOG
CHARACTER_SET_NAME
CHARACTER_SET_SCHEMA
CHARACTERISTICS
CHARACTERS
CLASS_ORIGIN
COBOL
COLLATION
COLLATION_CATALOG
COLLATION_NAME
COLLATION_SCHEMA
COLUMN_NAME
COMMAND_FUNCTION
COMMAND_FUNCTION_CODE
COMMITTED
CONDITION_NUMBER
CONNECTION
CONNECTION_NAME
CONSTRAINT_CATALOG
CONSTRAINT_NAME
CONSTRAINT_SCHEMA
CONSTRAINTS
CONSTRUCTOR
CONTINUE
CURSOR_NAME
DATA
DATETIME_INTERVAL_CODE
DATETIME_INTERVAL_PRECISION
DEFAULTS
DEFERRABLE
DEFERRED
DEFINED
DEFINER
DEGREE
DEPTH
DERIVED
DESC
DESCRIPTOR
DIAGNOSTICS
DISPATCH
DOMAIN
DYNAMIC_FUNCTION
DYNAMIC_FUNCTION_CODE
ENFORCED
EXCLUDE
EXCLUDING
EXPRESSION
FINAL
FIRST
FLAG
FOLLOWING
FORTRAN
FOUND
G
GENERAL
GENERATED
GO
GOTO
GRANTED
HIERARCHY
IGNORE
IMMEDIATE
IMMEDIATELY
IMPLEMENTATION
INCLUDING
INCREMENT
INITIALLY
INPUT
INSTANCE
INSTANTIABLE
INSTEAD
INVOKER
ISOLATION
K
KEY
KEY_MEMBER
KEY_TYPE
LAST
LENGTH
LEVEL
LOCATOR
M
MAP
MATCHED
MAXVALUE
MESSAGE_LENGTH
MESSAGE_OCTET_LENGTH
MESSAGE_TEXT
MINVALUE
MORE
MUMPS
NAME
NAMES
NESTING
NEXT
NFC
NFD
NFKC
NFKD
NORMALIZED
NULLABLE
NULLS
NUMBER
OBJECT
OCTETS
OPTION
OPTIONS
ORDERING
ORDINALITY
OTHERS
OUTPUT
OVERRIDING
P
PAD
PARAMETER_MODE
PARAMETER_NAME
PARAMETER_ORDINAL_POSITION
PARAMETER_SPECIFIC_CATALOG
PARAMETER_SPECIFIC_NAME
PARAMETER_SPECIFIC_SCHEMA
PARTIAL
PASCAL
PATH
PLACING
PLI
PRECEDING
PRESERVE
PRIOR
PRIVILEGES
PUBLIC
READ
RELATIVE
REPEATABLE
RESPECT
RESTART
RESTRICT
RETURNED_CARDINALITY
RETURNED_LENGTH
RETURNED_OCTET_LENGTH
RETURNED_SQLSTATE
ROLE
ROUTINE
ROUTINE_CATALOG
ROUTINE_NAME
ROUTINE_SCHEMA
ROW_COUNT
SCALE
SCHEMA
SCHEMA_NAME
SCOPE_CATALOG
SCOPE_NAME
SCOPE_SCHEMA
SECTION
SECURITY
SELF
SEQUENCE
SERIALIZABLE
SERVER_NAME
SESSION
SETS
SIMPLE
SIZE
SOURCE
SPACE
SPECIFIC_NAME
STATE
STATEMENT
STRUCTURE
STYLE
SUBCLASS_ORIGIN
T
TABLE_NAME
TEMPORARY
TIES
TOP_LEVEL_COUNT
TRANSACTION
TRANSACTION_ACTIVE
TRANSACTIONS_COMMITTED
TRANSACTIONS_ROLLED_BACK
TRANSFORM
TRANSFORMS
TRIGGER_CATALOG
TRIGGER_NAME
TRIGGER_SCHEMA
TYPE
UNBOUNDED
UNCOMMITTED
UNDER
UNNAMED
USAGE
USER_DEFINED_TYPE_CATALOG
USER_DEFINED_TYPE_CODE
USER_DEFINED_TYPE_NAME
USER_DEFINED_TYPE_SCHEMA
VIEW
WORK
WRITE
ZONE

-- reserved word SQL/PSM
DO
ELSEIF
HANDLER
IF
ITERATE
LEAVE
LOOP
REPEAT
RESIGNAL
SIGNAL
UNTIL
WHILE
-- non-reserved word SQL/PSM
CONDITION_IDENTIFIER
EXIT
STACKED
UNDO

-- SQL:2016
-- https://jakewheat.github.io/sql-overview/sql-2016-foundation-grammar.html
--! Data Types		===========================================================
-- character string type
CHARACTER
CHAR
CHARACTER VARYING
CHAR VARYING
VARCHAR
-- character large object type
CHARACTER LARGE OBJECT
CHAR LARGE OBJECT
CLOB
-- national character string type
NATIONAL CHARACTER
NATIONAL CHAR
NCHAR
NATIONAL CHARACTER VARYING
NATIONAL CHAR VARYING
NCHAR VARYING
-- national character large object type
NATIONAL CHARACTER LARGE OBJECT
NCHAR LARGE OBJECT
NCLOB
-- binary string type
BINARY
BINARY VARYING
VARBINARY
-- binary large object string type
BINARY LARGE OBJECT
BLOB
-- numeric type
NUMERIC
DECIMAL
DEC
SMALLINT
INTEGER
INT
BIGINT
FLOAT
REAL
DOUBLE PRECISION
BOOLEAN
-- datetime type
DATE
TIME
TIMESTAMP

YEAR
MONTH
DAY
HOUR
MINUTE
SECOND
-- interval type
INTERVAL
-- row type
ROW
-- reference type
REF
-- collection type
ARRAY
MULTISET

--! keywords		===========================================================
-- reserved word
ABS
ACOS
ALL
ALLOCATE
ALTER
AND
ANY
ARE
ARRAY
ARRAY_AGG
ARRAY_MAX_CARDINALITY
AS
ASENSITIVE
ASIN
ASYMMETRIC
AT
ATAN
ATOMIC
AUTHORIZATION
AVG
BEGIN
BEGIN_FRAME
BEGIN_PARTITION
BETWEEN
BIGINT
BINARY
BLOB
BOOLEAN
BOTH
BY
CALL
CALLED
CARDINALITY
CASCADED
CASE
CAST
CEIL
CEILING
CHAR
CHAR_LENGTH
CHARACTER
CHARACTER_LENGTH
CHECK
CLASSIFIER
CLOB
CLOSE
COALESCE
COLLATE
COLLECT
COLUMN
COMMIT
CONDITION
CONNECT
CONSTRAINT
CONTAINS
CONVERT
COPY
CORR
CORRESPONDING
COS
COSH
COUNT
COVAR_POP
COVAR_SAMP
CREATE
CROSS
CUBE
CUME_DIST
CURRENT
CURRENT_CATALOG
CURRENT_DATE
CURRENT_DEFAULT_TRANSFORM_GROUP
CURRENT_PATH
CURRENT_ROLE
CURRENT_ROW
CURRENT_SCHEMA
CURRENT_TIME
CURRENT_TIMESTAMP
CURRENT_TRANSFORM_GROUP_FOR_TYPE
CURRENT_USER
CURSOR
CYCLE
DATE
DAY
DEALLOCATE
DEC
DECFLOAT
DECIMAL
DECLARE
DEFAULT
DEFINE
DELETE
DENSE_RANK
DEREF
DESCRIBE
DETERMINISTIC
DISCONNECT
DISTINCT
DOUBLE
DROP
DYNAMIC
EACH
ELEMENT
ELSE
EMPTY
END
END_FRAME
END_PARTITION
END-EXEC
EQUALS
ESCAPE
EVERY
EXCEPT
EXEC
EXECUTE
EXISTS
EXP
EXTERNAL
EXTRACT
FALSE
FETCH
FILTER
FIRST_VALUE
FLOAT
FLOOR
FOR
FOREIGN
FRAME_ROW
FREE
FROM
FULL
FUNCTION
FUSION
GET
GLOBAL
GRANT
GROUP
GROUPING
GROUPS
HAVING
HOLD
HOUR
IDENTITY
IN
INDICATOR
INITIAL
INNER
INOUT
INSENSITIVE
INSERT
INT
INTEGER
INTERSECT
INTERSECTION
INTERVAL
INTO
IS
JOIN
JSON_ARRAY
JSON_ARRAYAGG
JSON_EXISTS
JSON_OBJECT
JSON_OBJECTAGG
JSON_QUERY
JSON_TABLE
JSON_TABLE_PRIMITIVE
JSON_VALUE
LAG
LANGUAGE
LARGE
LAST_VALUE
LATERAL
LEAD
LEADING
LEFT
LIKE
LIKE_REGEX
LISTAGG
LN
LOCAL
LOCALTIME
LOCALTIMESTAMP
LOG
LOG10
LOWER
MATCH
MATCH_NUMBER
MATCH_RECOGNIZE
MATCHES
MAX
MEMBER
MERGE
METHOD
MIN
MINUTE
MOD
MODIFIES
MODULE
MONTH
MULTISET
NATIONAL
NATURAL
NCHAR
NCLOB
NEW
NO
NONE
NORMALIZE
NOT
NTH_VALUE
NTILE
NULL
NULLIF
NUMERIC
OCCURRENCES_REGEX
OCTET_LENGTH
OF
OFFSET
OLD
OMIT
ON
ONE
ONLY
OPEN
OR
ORDER
OUT
OUTER
OVER
OVERLAPS
OVERLAY
PARAMETER
PARTITION
PATTERN
PER
PERCENT
PERCENT_RANK
PERCENTILE_CONT
PERCENTILE_DISC
PERIOD
PORTION
POSITION
POSITION_REGEX
POWER
PRECEDES
PRECISION
PREPARE
PRIMARY
PROCEDURE
PTF
RANGE
RANK
READS
REAL
RECURSIVE
REF
REFERENCES
REFERENCING
REGR_AVGX
REGR_AVGY
REGR_COUNT
REGR_INTERCEPT
REGR_R2
REGR_SLOPE
REGR_SXX
REGR_SXY
REGR_SYY
RELEASE
RESULT
RETURN
RETURNS
REVOKE
RIGHT
ROLLBACK
ROLLUP
ROW
ROW_NUMBER
ROWS
RUNNING
SAVEPOINT
SCOPE
SCROLL
SEARCH
SECOND
SEEK
SELECT
SENSITIVE
SESSION_USER
SET
SHOW
SIMILAR
SIN
SINH
SKIP
SMALLINT
SOME
SPECIFIC
SPECIFICTYPE
SQL
SQLEXCEPTION
SQLSTATE
SQLWARNING
SQRT
START
STATIC
STDDEV_POP
STDDEV_SAMP
SUBMULTISET
SUBSET
SUBSTRING
SUBSTRING_REGEX
SUCCEEDS
SUM
SYMMETRIC
SYSTEM
SYSTEM_TIME
SYSTEM_USER
TABLE
TABLESAMPLE
TAN
TANH
THEN
TIME
TIMESTAMP
TIMEZONE_HOUR
TIMEZONE_MINUTE
TO
TRAILING
TRANSLATE
TRANSLATE_REGEX
TRANSLATION
TREAT
TRIGGER
TRIM
TRIM_ARRAY
TRUE
TRUNCATE
UESCAPE
UNION
UNIQUE
UNKNOWN
UNNEST
UPDATE
UPPER
USER
USING
VALUE
VALUE_OF
VALUES
VAR_POP
VAR_SAMP
VARBINARY
VARCHAR
VARYING
VERSIONING
WHEN
WHENEVER
WHERE
WIDTH_BUCKET
WINDOW
WITH
WITHIN
WITHOUT
YEAR

-- non-reserved word
A
ABSOLUTE
ACTION
ADA
ADD
ADMIN
AFTER
ALWAYS
ASC
ASSERTION
ASSIGNMENT
ATTRIBUTE
ATTRIBUTES
BEFORE
BERNOULLI
BREADTH
C
CASCADE
CATALOG
CATALOG_NAME
CHAIN
CHAINING
CHARACTER_SET_CATALOG
CHARACTER_SET_NAME
CHARACTER_SET_SCHEMA
CHARACTERISTICS
CHARACTERS
CLASS_ORIGIN
COBOL
COLLATION
COLLATION_CATALOG
COLLATION_NAME
COLLATION_SCHEMA
COLUMN_NAME
COLUMNS
COMMAND_FUNCTION
COMMAND_FUNCTION_CODE
COMMITTED
CONDITION_NUMBER
CONDITIONAL
CONNECTION
CONNECTION_NAME
CONSTRAINT_CATALOG
CONSTRAINT_NAME
CONSTRAINT_SCHEMA
CONSTRAINTS
CONSTRUCTOR
CONTINUE
CURSOR_NAME
DATA
DATETIME_INTERVAL_CODE
DATETIME_INTERVAL_PRECISION
DEFAULTS
DEFERRABLE
DEFERRED
DEFINED
DEFINER
DEGREE
DEPTH
DERIVED
DESC
DESCRIBE_CATALOG
DESCRIBE_NAME
DESCRIBE_PROCEDURE_SPECIFIC_CATALOG
DESCRIBE_PROCEDURE_SPECIFIC_NAME
DESCRIBE_PROCEDURE_SPECIFIC_SCHEMA
DESCRIBE_SCHEMA
DESCRIPTOR
DIAGNOSTICS
DISPATCH
DOMAIN
DYNAMIC_FUNCTION
DYNAMIC_FUNCTION_CODE
ENCODING
ENFORCED
ERROR
EXCLUDE
EXCLUDING
EXPRESSION
FINAL
FINISH
FINISH_CATALOG
FINISH_NAME
FINISH_PROCEDURE_SPECIFIC_CATALOG
FINISH_PROCEDURE_SPECIFIC_NAME
FINISH_PROCEDURE_SPECIFIC_SCHEMA
FINISH_SCHEMA
FIRST
FLAG
FOLLOWING
FORMAT
FORTRAN
FOUND
FULFILL
FULFILL_CATALOG
FULFILL_NAME
FULFILL_PROCEDURE_SPECIFIC_CATALOG
FULFILL_PROCEDURE_SPECIFIC_NAME
FULFILL_PROCEDURE_SPECIFIC_SCHEMA
FULFILL_SCHEMA
G
GENERAL
GENERATED
GO
GOTO
GRANTED
HAS_PASS_THROUGH_COLUMNS
HAS_PASS_THRU_COLS
HIERARCHY
IGNORE
IMMEDIATE
IMMEDIATELY
IMPLEMENTATION
INCLUDING
INCREMENT
INITIALLY
INPUT
INSTANCE
INSTANTIABLE
INSTEAD
INVOKER
IS_PRUNABLE
ISOLATION
JSON
K
KEEP
KEY
KEY_MEMBER
KEY_TYPE
KEYS
LAST
LENGTH
LEVEL
LOCATOR
M
MAP
MATCHED
MAXVALUE
MESSAGE_LENGTH
MESSAGE_OCTET_LENGTH
MESSAGE_TEXT
MINVALUE
MORE
MUMPS
NAME
NAMES
NESTED
NESTING
NEXT
NFC
NFD
NFKC
NFKD
NORMALIZED
NULLABLE
NULLS
NUMBER
OBJECT
OCTETS
OPTION
OPTIONS
ORDERING
ORDINALITY
OTHERS
OUTPUT
OVERFLOW
OVERRIDING
P
PAD
PARAMETER_MODE
PARAMETER_NAME
PARAMETER_ORDINAL_POSITION
PARAMETER_SPECIFIC_CATALOG
PARAMETER_SPECIFIC_NAME
PARAMETER_SPECIFIC_SCHEMA
PARTIAL
PASCAL
PASS
PASSING
PAST
PATH
PLACING
PLAN
PLI
PRECEDING
PRESERVE
PRIOR
PRIVATE
PRIVATE_PARAMETERS
PRIVATE_PARAMS_S
PRIVILEGES
PRUNE
PUBLIC
QUOTES
READ
RELATIVE
REPEATABLE
RESPECT
RESTART
RESTRICT
RET_ONLY_PASS_THRU
RETURNED_CARDINALITY
RETURNED_LENGTH
RETURNED_OCTET_LENGTH
RETURNED_SQLSTATE
RETURNING
RETURNS_ONLY_PASS_THROUGH
ROLE
ROUTINE
ROUTINE_CATALOG
ROUTINE_NAME
ROUTINE_SCHEMA
ROW_COUNT
SCALAR
SCALE
SCHEMA
SCHEMA_NAME
SCOPE_CATALOG
SCOPE_NAME
SCOPE_SCHEMA
SECTION
SECURITY
SELF
SEQUENCE
SERIALIZABLE
SERVER_NAME
SESSION
SETS
SIMPLE
SIZE
SOURCE
SPACE
SPECIFIC_NAME
START_CATALOG
START_NAME
START_PROCEDURE_SPECIFIC_CATALOG
START_PROCEDURE_SPECIFIC_NAME
START_PROCEDURE_SPECIFIC_SCHEMA
START_SCHEMA
STATE
STATEMENT
STRING
STRUCTURE
STYLE
SUBCLASS_ORIGIN
T
TABLE_NAME
TABLE_SEMANTICS
TEMPORARY
THROUGH
TIES
TOP_LEVEL_COUNT
TRANSACTION
TRANSACTION_ACTIVE
TRANSACTIONS_COMMITTED
TRANSACTIONS_ROLLED_BACK
TRANSFORM
TRANSFORMS
TRIGGER_CATALOG
TRIGGER_NAME
TRIGGER_SCHEMA
TYPE
UNBOUNDED
UNCOMMITTED
UNCONDITIONAL
UNDER
UNNAMED
USAGE
USER_DEFINED_TYPE_CATALOG
USER_DEFINED_TYPE_CODE
USER_DEFINED_TYPE_NAME
USER_DEFINED_TYPE_SCHEMA
UTF16
UTF32
UTF8
VIEW
WORK
WRAPPER
WRITE
ZONE

-- SQL:2019
--! Data Types		===========================================================
-- character string type
-- numeric type
-- datetime type
-- interval type
-- row type
-- reference type
-- collection type

--! keywords		===========================================================
-- reserved word
-- non-reserved word
